package com.chalk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author xiaoqiang
 * @Description admin消费者入口
 * @date 2019/3/21 11:50
 */
@SpringBootApplication
@EnableEurekaClient
@EnableHystrixDashboard
@EnableFeignClients
@EnableCircuitBreaker
public class AdminConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminConsumerApplication.class);
    }
}
